package com.ly.heart.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ly.common.core.domain.AjaxResult;
import com.ly.heart.domain.OfficeSuppliesRecordEntity;
import com.ly.heart.domain.dto.OfficeSuppliesRecordQueryDto;

/**
 * 办公用品操作记录Service接口
 *
 * @author cxl
 * @date 2024-06-09
 */
public interface IOfficeSuppliesRecordService extends IService<OfficeSuppliesRecordEntity> {
    /**
     * 查询办公用品操作记录
     *
     * @param id 办公用品操作记录ID
     * @return 办公用品操作记录
     */
    public OfficeSuppliesRecordEntity selectOfficeSuppliesRecordEntityById(String id);

    /**
     * 查询办公用品操作记录列表
     *
     * @param officeSuppliesRecordEntity 办公用品操作记录
     * @return 办公用品操作记录集合
     */
    public List<OfficeSuppliesRecordEntity> selectOfficeSuppliesRecordEntityList(OfficeSuppliesRecordEntity officeSuppliesRecordEntity);

    /**
     * 新增办公用品操作记录
     *
     * @param officeSuppliesRecordEntity 办公用品操作记录
     * @return 结果
     */
    public int insertOfficeSuppliesRecordEntity(OfficeSuppliesRecordEntity officeSuppliesRecordEntity);

    /**
     * 修改办公用品操作记录
     *
     * @param officeSuppliesRecordEntity 办公用品操作记录
     * @return 结果
     */
    public int updateOfficeSuppliesRecordEntity(OfficeSuppliesRecordEntity officeSuppliesRecordEntity);

    /**
     * 批量删除办公用品操作记录
     *
     * @param ids 需要删除的办公用品操作记录ID
     * @return 结果
     */
    public int deleteOfficeSuppliesRecordEntityByIds(String[] ids);

    /**
     * 删除办公用品操作记录信息
     *
     * @param id 办公用品操作记录ID
     * @return 结果
     */
    public int deleteOfficeSuppliesRecordEntityById(String id);

    /**
     * 根据办公用品表id查询记录
     * @param queryDto
     * @return
     */
    AjaxResult getOfficeSuppliesRecordByOfficeSuppliesId(OfficeSuppliesRecordQueryDto queryDto);
}
